package 方法定义与使用;

public class Test {
    public static void main(String[] args) {
        int x=sum(3,4);
        System.out.println(x);

    }
    public static int sum(int a,int b){
        int c=a+b;
        return c;
    }
}
